home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
005
/
bills.arc
/
BILLS.DOC
< prev
next >
Wrap
Text File
|
1985-03-16
|
4KB
|
62 lines
DOCUMENTATION FOR BILLS
By Kenneth Lenger
7263 E. 70th Ave.
Commerce City, CO 80022
Compuserv I.D. 70137,2051
March 17, 1985
BILLS is a program that will remind you of bills that need
to be paid, or of other things to do. The reason I wrote
this program is because we have just aquired a couple of new
charge accounts, which may have some large monthly balances.
I would like to keep them paid up every month, but do not
want to pay the bill untill near the due date. By doing
this, our bank balance can stay as high as possible so that
we can earn the most interest possible from our checking
account. I do not want to pay the bill late, because I do
not want to pay interest on the charge accounts.
This program consists of two parts, BILLS.COM and BILLS.DAT.
BILLS.COM is the program itself, which was written in Turbo
Pascal. The source code is included. BILLS.DAT is a data
file containing the date and description of each bill to be
paid. Any information can be included in this data file that
you would want to be reminded of on a paticular day.
Birthdays and anniversariess are two examples. Appointments
can also be included. I included the program in the
AUTOEXEC.BAT file on my hard disk, so that I am reminded of
what to do each time the system is turned on. To operate
this program from an AUTOEXEC.BAT file, your system must
have a clock in it, since the program has to know today's
date when it is run. The program displays a message for each
entry in the data file that requires action by today's date.
Once you have paid the bill, or sent out the birthday card,
delete that line from the data file, or change it's date to
the next time it requires action ( next month, next year,
etc.).
The data file is maintained with a text editor ( I use Side
Kick) and is constructed as follows:
03/26/1985 VISA BILL DUE $123.45
03/26/1985 IBM BILL DUE $678.90
04/10/1985 CAR INSURANCE DUE $347.91
06/10/1985 MACRO ASSEMBLER DUE $ 75.00
04/10/1985 HOUSE PAYEMNT DUE $499.95
03/26/1985 BIRTHDAY PRESENT FOR ROBERTA (03/31)
03/28/1985 MAIL CARD FOR MARY (04/02)
03/28/1985 MAIL CARD FOR RACHEL (04/03)
Basically the format is DATE SPACE COMMENT. The date MUST be
the first entry on the line and must be in the format
MM/DD/YYYY. The system date and each date in the data file is
converted into the format YYYY/MM/DD so that the date strings
can be compared using <= operators. Any date in the data file
less than or equal to today causes the program to display
that line.
The program can be tested by running it with the supplied
data file. As you change the system date, and rerun the
program, you will see how it only prints the entries which
require attention at this time.